Started as single run within Anpass for Typ=10
Settings : Gradient limit=10.00n, maximum iterations=80, with clampings
0: pure eval, 1: goal function call, 2: goal function gradient, 3: Hessian
Hint: More data in file opt2.csv
Hint : Single-sided gradient formula used

Real Hessian Matrix H at start : 
1329.942423, 479.995999
479.995999, 200.000008

RMS value of diagonal matrix entries : 950.99
RMS value of non-diagonal entries : 480.00
Ratio of RMS values : 1.981:1

Real inverse Hessian Matrix iH at start : 
 0.005619, -0.013486
-0.013486,  0.037366

Eigenvalues of real damped start iH :  1.000000000,  1.000000000
Eigenvalues of real iH at start :  0.042321292,  0.000663872
Eigenvalues of real H at start : 1506.313662441, 23.628768081

Start values : f=24.200, |g|=232.85
X : -1.200000000,  1.000000000
Initial step size t=0.125
Hint : step size t reduced to 37.11m before linear search due to large parameter steps.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 1 (11 calls) :
Current goal function and gradient : f=4.133, reduction df=20.07, |g|=232.85
X : -1.027364330,  1.070466284
G : -215.586700191, -87.998000000
S : 215.586700191, 87.998000000
Angle between -G and S is -0.00.
Angle between old and new gradient is 0.00.
Current parameter steps : |dx|=0.19, max(dxi)=0.17 for number i=1, min(dxi)=70.47m for number i=2
Current steps in linear search : i=6, step size is t=0.80m, clampings=5
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.000000000,  1.000000000
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 2 (17 calls) :
Current goal function and gradient : f=3.804, reduction df=0.33, |g|=3.67
X : -0.909657677,  0.787876254
G :  2.113265487,  2.999763435
S :  0.750871502, -1.802691640
Angle between -G and S is 42.01.
Angle between old and new gradient is 165.79.
Current parameter steps : |dx|=0.31, max(dxi)=0.28 for number i=2, min(dxi)=0.12 for number i=1
Current steps in linear search : i=0, step size is t=0.16, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.000070384,  0.000790228
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 3 (25 calls) :
Current goal function and gradient : f=3.245, reduction df=0.56, |g|=19.87
X : -0.652691625,  0.354350291
G : -18.221798561, -7.918166922
S :  0.048430583, -0.081706961
Angle between -G and S is 78.77.
Angle between old and new gradient is 166.86.
Current parameter steps : |dx|=0.50, max(dxi)=0.43 for number i=2, min(dxi)=0.26 for number i=1
Current steps in linear search : i=2, step size is t=5.31, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.217594450,  0.000492984
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 4 (31 calls) :
Current goal function and gradient : f=2.646, reduction df=0.60, |g|=26.26
X : -0.622064794,  0.399221894
G : -22.009394446, -14.329213275
S :  0.042215404,  0.061850108
Angle between -G and S is 6.92.
Angle between old and new gradient is 1.25.
Current parameter steps : |dx|=54.33m, max(dxi)=44.87m for number i=2, min(dxi)=30.63m for number i=1
Current steps in linear search : i=2, step size is t=0.73, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.150090076,  0.002623850
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 5 (38 calls) :
Current goal function and gradient : f=2.243, reduction df=0.40, |g|=2.46
X : -0.417141107,  0.125543829
G : -0.191132477,  2.453457270
S :  0.175129664, -0.233887787
Angle between -G and S is 13.99.
Angle between old and new gradient is 133.10.
Current parameter steps : |dx|=0.34, max(dxi)=0.27 for number i=2, min(dxi)=0.20 for number i=1
Current steps in linear search : i=3, step size is t=1.17, clampings=0
Hint : Single-sided gradient formula used

Current real Hessian Matrix H  : 
160.570490, 166.852443
166.852443, 200.000000

RMS value of diagonal matrix entries : 181.36
RMS value of non-diagonal entries : 166.85
Ratio of RMS values : 1.087:1

Current real inverse Hessian Matrix : 
 0.046791, -0.039036
-0.039036,  0.037566

Current inverse Hessian Matrix from BFGS : 
 0.053126, -0.067242
-0.067242,  0.090092

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 52.14%
Hint : Angle between S via iH and real iH is 2.82. Length ratio is 1.07:1.
Current eigenvalues of real iH :  0.081485496,  0.002871102
Current eigenvalues of BFGS iH :  0.141344890,  0.001873107
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 6 (41 calls) :
Current goal function and gradient : f=2.070, reduction df=0.17, |g|=14.60
X : -0.432154293,  0.172940925
G : -10.919019121, -9.690574785
S : -0.015013186,  0.047397096
Angle between -G and S is 53.37.
Angle between old and new gradient is 144.33.
Current parameter steps : |dx|=49.72m, max(dxi)=47.40m for number i=2, min(dxi)=15.01m for number i=1
Current steps in linear search : i=0, step size is t=1.00, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.148229748,  0.001319979
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 7 (47 calls) :
Current goal function and gradient : f=1.657, reduction df=0.41, |g|=5.93
X : -0.182624794, -0.017490296
G : -5.251067248, -2.761281492
S :  0.137029005, -0.104575214
Angle between -G and S is 52.09.
Angle between old and new gradient is 2.62.
Current parameter steps : |dx|=0.31, max(dxi)=0.25 for number i=1, min(dxi)=0.19 for number i=2
Current steps in linear search : i=2, step size is t=1.82, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.085605084,  0.002774435
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 8 (50 calls) :
Current goal function and gradient : f=1.455, reduction df=0.20, |g|=11.85
X : -0.206053929,  0.041733939
G : -6.078771479, -10.166422251
S : -0.023429135,  0.059224235
Angle between -G and S is 35.16.
Angle between old and new gradient is 13.17.
Current parameter steps : |dx|=63.69m, max(dxi)=59.22m for number i=2, min(dxi)=23.43m for number i=1
Current steps in linear search : i=0, step size is t=1.00, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.091791271,  0.003070858
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 9 (57 calls) :
Current goal function and gradient : f=1.190, reduction df=0.26, |g|=2.48
X :  0.014981494, -0.046618858
G : -2.471441802, -0.142856433
S :  0.123820444, -0.049493798
Angle between -G and S is 8.50.
Angle between old and new gradient is 39.43.
Current parameter steps : |dx|=0.24, max(dxi)=0.22 for number i=1, min(dxi)=88.35m for number i=2
Current steps in linear search : i=3, step size is t=1.79, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.060489725,  0.004207383
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 10 (61 calls) :
Current goal function and gradient : f=1.067, reduction df=0.12, |g|=9.52
X : -0.015543483, -0.018615631
G : -1.689114776, -9.366660584
S : -0.049135676,  0.045076445
Angle between -G and S is 41.89.
Angle between old and new gradient is 68.94.
Current parameter steps : |dx|=41.42m, max(dxi)=30.52m for number i=1, min(dxi)=28.00m for number i=2
Current steps in linear search : i=0, step size is t=0.62, clampings=0
Hint : Single-sided gradient formula used

Current real Hessian Matrix H  : 
 9.735427,  6.213394
 6.213394, 200.000000

RMS value of diagonal matrix entries : 141.59
RMS value of non-diagonal entries : 6.21
Ratio of RMS values : 22.788:1

Current real inverse Hessian Matrix : 
 0.104795, -0.003256
-0.003256,  0.005101

Current inverse Hessian Matrix from BFGS : 
 0.070594, -0.017976
-0.017976,  0.008054

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 37.32%
Hint : Angle between S via iH and real iH is 0.02. Length ratio is 0.40:1.
Current eigenvalues of real iH :  0.104901694,  0.004994938
Current eigenvalues of BFGS iH :  0.075392288,  0.003255339
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 11 (68 calls) :
Current goal function and gradient : f=0.696, reduction df=0.37, |g|=4.34
X :  0.261465162,  0.029574908
G : -2.148232431, -3.769446225
S :  0.077692632,  0.013516004
Angle between -G and S is 32.69.
Angle between old and new gradient is 5.14.
Current parameter steps : |dx|=0.28, max(dxi)=0.28 for number i=1, min(dxi)=48.19m for number i=2
Current steps in linear search : i=2, step size is t=3.57, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.040114686,  0.004690785
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 12 (74 calls) :
Current goal function and gradient : f=0.584, reduction df=0.11, |g|=8.17
X :  0.239014046,  0.050200463
G :  2.580454158, -7.755824590
S : -0.040645205,  0.037340235
Angle between -G and S is 11.30.
Angle between old and new gradient is 29.87.
Current parameter steps : |dx|=30.49m, max(dxi)=22.45m for number i=1, min(dxi)=20.63m for number i=2
Current steps in linear search : i=2, step size is t=0.55, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.080918529,  0.005761399
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 13 (81 calls) :
Current goal function and gradient : f=0.421, reduction df=0.16, |g|=1.63
X :  0.448259182,  0.166800448
G : -0.859182984, -1.383450277
S :  0.083053463,  0.046280801
Angle between -G and S is 11.31.
Angle between old and new gradient is 32.44.
Current parameter steps : |dx|=0.24, max(dxi)=0.21 for number i=1, min(dxi)=0.12 for number i=2
Current steps in linear search : i=3, step size is t=2.52, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.068089356,  0.003949601
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 14 (85 calls) :
Current goal function and gradient : f=0.346, reduction df=75.02m, |g|=8.47
X :  0.418330340,  0.166294111
G :  5.018965019, -6.825169192
S : -0.043963992, -0.000743784
Angle between -G and S is 37.92.
Angle between old and new gradient is 56.54.
Current parameter steps : |dx|=29.93m, max(dxi)=29.93m for number i=1, min(dxi)=0.51m for number i=2
Current steps in linear search : i=0, step size is t=0.68, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.135310608,  0.002868189
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 15 (89 calls) :
Current goal function and gradient : f=0.202, reduction df=0.14, |g|=1.76
X :  0.594897605,  0.334413281
G :  0.294936365, -1.739232528
S :  0.067022230,  0.063815463
Angle between -G and S is 39.71.
Angle between old and new gradient is 9.60.
Current parameter steps : |dx|=0.24, max(dxi)=0.18 for number i=1, min(dxi)=0.17 for number i=2
Current steps in linear search : i=0, step size is t=2.63, clampings=0
Hint : Single-sided gradient formula used

Current real Hessian Matrix H  : 
292.947036, -237.963042
-237.963042, 200.000000

RMS value of diagonal matrix entries : 250.82
RMS value of non-diagonal entries : 237.96
Ratio of RMS values : 1.054:1

Current real inverse Hessian Matrix : 
 0.101885,  0.121224
 0.121224,  0.149235

Current inverse Hessian Matrix from BFGS : 
 0.058504,  0.048457
 0.048457,  0.044909

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 84.30%
Hint : Angle between S via iH and real iH is 2.81. Length ratio is 0.26:1.
Current eigenvalues of real iH :  0.249074228,  0.002045273
Current eigenvalues of BFGS iH :  0.100637684,  0.002775546
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 16 (92 calls) :
Current goal function and gradient : f=0.148, reduction df=54.17m, |g|=5.46
X :  0.616366271,  0.382650201
G :  3.830517623, -3.895975962
S :  0.016298353,  0.036619992
Angle between -G and S is 57.02.
Angle between old and new gradient is 16.18.
Current parameter steps : |dx|=52.80m, max(dxi)=48.24m for number i=2, min(dxi)=21.47m for number i=1
Current steps in linear search : i=0, step size is t=1.32, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.268933380,  0.002512941
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 17 (99 calls) :
Current goal function and gradient : f=0.101, reduction df=46.50m, |g|=1.54
X :  0.745410253,  0.536502279
G : -1.440452005,  0.550564194
S :  0.143668253,  0.171287795
Angle between -G and S is 60.59.
Angle between old and new gradient is 171.85.
Current parameter steps : |dx|=0.20, max(dxi)=0.15 for number i=2, min(dxi)=0.13 for number i=1
Current steps in linear search : i=2, step size is t=0.90, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.461296425,  0.002012953
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 18 (102 calls) :
Current goal function and gradient : f=80.829m, reduction df=20.60m, |g|=6.46
X :  0.716317122,  0.511230740
G :  5.200483998, -3.824833424
S : -0.029093131, -0.025271538
Angle between -G and S is 70.23.
Angle between old and new gradient is 176.76.
Current parameter steps : |dx|=38.54m, max(dxi)=29.09m for number i=1, min(dxi)=25.27m for number i=2
Current steps in linear search : i=0, step size is t=1.00, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.376121566,  0.001220604
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 19 (108 calls) :
Current goal function and gradient : f=44.129m, reduction df=36.70m, |g|=0.37
X :  0.823036110,  0.666068943
G : -0.024712155, -0.373895724
S :  0.046589726,  0.067596869
Angle between -G and S is 12.69.
Angle between old and new gradient is 41.57.
Current parameter steps : |dx|=0.19, max(dxi)=0.15 for number i=2, min(dxi)=0.11 for number i=1
Current steps in linear search : i=2, step size is t=2.29, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.255596510,  0.001514361
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 20 (112 calls) :
Current goal function and gradient : f=24.602m, reduction df=19.53m, |g|=4.07
X :  0.846366580,  0.719497292
G :  3.378098039, -2.261899029
S :  0.011162386,  0.025562617
Angle between -G and S is 74.04.
Angle between old and new gradient is 44.97.
Current parameter steps : |dx|=58.30m, max(dxi)=53.43m for number i=2, min(dxi)=23.33m for number i=1
Current steps in linear search : i=0, step size is t=2.09, clampings=0
Hint : Single-sided gradient formula used

Current real Hessian Matrix H  : 
573.845374, -338.550632
-338.550632, 200.000000

RMS value of diagonal matrix entries : 429.71
RMS value of non-diagonal entries : 338.55
Ratio of RMS values : 1.269:1

Current real inverse Hessian Matrix : 
 1.311093,  2.219357
 2.219357,  3.761824

Current inverse Hessian Matrix from BFGS : 
 0.198993,  0.302127
 0.302127,  0.462521

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 143.89%
Hint : Angle between S via iH and real iH is 0.00. Length ratio is 0.19:1.
Current eigenvalues of real iH :  5.071624187,  0.001292577
Current eigenvalues of BFGS iH :  0.660366138,  0.001147718
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 21 (119 calls) :
Current goal function and gradient : f=12.229m, reduction df=12.37m, |g|=1.51
X :  0.928233381,  0.853203578
G : -1.371642318,  0.634180952
S :  0.095001781,  0.155158565
Angle between -G and S is 79.55.
Angle between old and new gradient is 178.89.
Current parameter steps : |dx|=0.16, max(dxi)=0.13 for number i=2, min(dxi)=81.87m for number i=1
Current steps in linear search : i=2, step size is t=0.86, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.144463848,  0.001324835
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 22 (123 calls) :
Current goal function and gradient : f=8.242m, reduction df=3.99m, |g|=3.43
X :  0.916351822,  0.836172363
G :  2.987338792, -1.680726217
S : -0.019063263, -0.027325585
Angle between -G and S is 81.31.
Angle between old and new gradient is 179.72.
Current parameter steps : |dx|=20.77m, max(dxi)=17.03m for number i=2, min(dxi)=11.88m for number i=1
Current steps in linear search : i=0, step size is t=0.62, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.908956110,  0.000834999
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 23 (127 calls) :
Current goal function and gradient : f=1.857m, reduction df=6.38m, |g|=1.33
X :  0.957787772,  0.918225442
G :  1.132721043, -0.703659934
S :  0.018381293,  0.036399352
Angle between -G and S is 82.07.
Angle between old and new gradient is 0.08.
Current parameter steps : |dx|=91.92m, max(dxi)=82.05m for number i=2, min(dxi)=41.44m for number i=1
Current steps in linear search : i=0, step size is t=2.25, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.569452284,  0.001057712
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 24 (130 calls) :
Current goal function and gradient : f=0.656m, reduction df=1.20m, |g|=0.45
X :  0.991456529,  0.980571740
G : -0.409623220,  0.175605424
S :  0.029871419,  0.055314557
Angle between -G and S is 81.90.
Angle between old and new gradient is 178.98.
Current parameter steps : |dx|=70.86m, max(dxi)=62.35m for number i=2, min(dxi)=33.67m for number i=1
Current steps in linear search : i=0, step size is t=1.13, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.705855780,  0.001043694
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 25 (134 calls) :
Current goal function and gradient : f=0.309m, reduction df=0.35m, |g|=1.06
X :  0.986078803,  0.971277939
G :  0.948279846, -0.480861858
S : -0.008717530, -0.015065659
Angle between -G and S is 85.03.
Warning : Angle already quite extreme.
Angle between old and new gradient is 179.81.
Current parameter steps : |dx|=10.74m, max(dxi)=9.29m for number i=2, min(dxi)=5.38m for number i=1
Current steps in linear search : i=0, step size is t=0.62, clampings=0
Hint : Single-sided gradient formula used

Current real Hessian Matrix H  : 
780.357844, -394.435521
-394.435521, 200.000000

RMS value of diagonal matrix entries : 569.63
RMS value of non-diagonal entries : 394.44
Ratio of RMS values : 1.444:1

Current real inverse Hessian Matrix : 
 0.406348,  0.801391
 0.801391,  1.585486

Current inverse Hessian Matrix from BFGS : 
 0.343762,  0.659785
 0.659785,  1.269792

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 18.36%
Hint : Angle between S via iH and real iH is 0.00. Length ratio is 0.28:1.
Current eigenvalues of real iH :  1.990814030,  0.001020559
Current eigenvalues of BFGS iH :  1.612816115,  0.000738435
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 26 (138 calls) :
Current goal function and gradient : f=0.125m, reduction df=0.18m, |g|=0.46
X :  0.991659835,  0.984136046
G :  0.403370200, -0.212693455
S :  0.002639584,  0.006081323
Angle between -G and S is 83.19.
Angle between old and new gradient is 0.01.
Current parameter steps : |dx|=14.02m, max(dxi)=12.86m for number i=2, min(dxi)=5.58m for number i=1
Current steps in linear search : i=0, step size is t=2.11, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.152649651,  0.000917452
Hint : Start stepsize t good already before linear search.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 27 (141 calls) :
Current goal function and gradient : f=53.462u, reduction df=71.87u, |g|=0.34
X :  0.992688220,  0.985429000
G : -0.305031574,  0.151363481
S :  0.000972762,  0.001223022
Angle between -G and S is 71.12.
Angle between old and new gradient is 179.97.
Current parameter steps : |dx|=1.65m, max(dxi)=1.29m for number i=2, min(dxi)=1.03m for number i=1
Current steps in linear search : i=0, step size is t=1.06, clampings=0
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  1.565331298,  0.000949591
Warning : Parabel interpolation shows that start stepsize before GST is quite bad.
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 28 (154 calls) :
Current goal function and gradient : f=38.935u, reduction df=14.53u, |g|=6.62m
X :  1.004930877,  1.009503688
G : -0.006361896,  0.001819650
S :  0.000911249,  0.001791934
Angle between -G and S is 72.84.
Angle between old and new gradient is 1.49.
Current parameter steps : |dx|=27.01m, max(dxi)=24.07m for number i=2, min(dxi)=12.24m for number i=1
Current steps in linear search : i=5, step size is t=13.44, clampings=0
Hint : Switched to double-sided gradient because : |g| is smaller 100dxss=2.00m.
Hint : Double-sided gradient formula used
Current eigenvalues of BFGS iH :  1.620367972,  0.001005497

Iteration 29 (163 calls) :
Current goal function and gradient : f=2.327u, reduction df=36.61u, |g|=0.18
X :  0.999578064,  0.999009701
G :  0.163568035, -0.076475966
S : -0.009819218, -0.019250206
Angle between -G and S is 86.91.
Warning : Angle already quite extreme.
Angle between old and new gradient is 178.87.
Current parameter steps : |dx|=11.78m, max(dxi)=10.49m for number i=2, min(dxi)=5.35m for number i=1
Current steps in linear search : i=3, step size is t=0.55, clampings=0
Warning : Switching to single-side gradient although double-sided used in previous interations.
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  4.414965568,  0.000864478
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 30 (196 calls) :
Current goal function and gradient : f=2.327u, reduction df=-5.45f, |g|=71.24m
X :  0.999578064,  0.999009701
G :  0.065787562, -0.027321090
S : -0.119545643, -0.236472740
Angle between -G and S is 83.31.
Angle between old and new gradient is 0.09.
Current parameter steps : |dx|=53.38p, max(dxi)=47.64p for number i=2, min(dxi)=24.08p for number i=1
Hint : Steps xi-xi-1 already smaller than dx for gradient calculation.
Current steps in linear search : i=29, step size is t=0.20n, clampings=0
Warning : Quite too many iterations in linear search!
Hint : Switched to double-sided gradient because : Maximum step dxi smaller than dxss in gradient calculation. 
Hint : Double-sided gradient formula used

Current real Hessian Matrix H  : 
801.431667, -399.835226
-399.835226, 200.000000

RMS value of diagonal matrix entries : 584.08
RMS value of non-diagonal entries : 399.84
Ratio of RMS values : 1.461:1

Current real inverse Hessian Matrix : 
 0.478325,  0.956256
 0.956256,  1.916724

Current inverse Hessian Matrix from BFGS : 
10.190114, 20.161609
20.161609, 39.892638

Sign mismatches in matrices : 0 of 4 (0.00%)
Normalized average entry difference in matrices : 164.07%
Hint : Angle between S via iH and real iH is 0.00. Length ratio is 5.27:1.
Current eigenvalues of real iH :  2.394049564,  0.000998987
Current eigenvalues of BFGS iH : 50.082351419,  0.000400681

Iteration 31 (230 calls) :
Current goal function and gradient : f=0.280u, reduction df=2.05u, |g|=64.79m
X :  0.999549047,  0.999125971
G :  0.057773725, -0.029321090
S : -0.000009645,  0.000038648
Angle between -G and S is 31.05.
Angle between old and new gradient is 0.26.
Current parameter steps : |dx|=0.12m, max(dxi)=0.12m for number i=2, min(dxi)=29.02u for number i=1
Current steps in linear search : i=0, step size is t=3.01, clampings=0
Warning : Switching to single-side gradient although double-sided used in previous interations.
Hint : Single-sided gradient formula used
Current eigenvalues of BFGS iH :  0.000938628,  0.000000004
Warning : Single-sided gradient used. This might be the reason for problems in linear search.
Iteration 32 (234 calls) :
Current goal function and gradient : f=0.201u, reduction df=79.35n, |g|=8.51m
X :  0.999553150,  0.999109529
G : -0.003953552,  0.007534736
S :  0.000004731, -0.000018958
Angle between -G and S is 2.55.
Angle between old and new gradient is 163.36.
Current parameter steps : |dx|=16.95u, max(dxi)=16.44u for number i=2, min(dxi)=4.10u for number i=1
Hint : Steps xi-xi-1 already smaller than dx for gradient calculation.
Current steps in linear search : i=0, step size is t=0.87, clampings=0
Hint : Switched to double-sided gradient because : Maximum step dxi smaller than dxss in gradient calculation. |g| is smaller 100dxss=2.00m.
Hint : Double-sided gradient formula used
Current eigenvalues of BFGS iH :  0.002363367,  0.000000004
Hint : Start stepsize t good already before linear search.

Iteration 33 (239 calls) :
Current goal function and gradient : f=0.199u, reduction df=1.42n, |g|=2.19m
X :  0.999553778,  0.999107013
G : -0.002104803,  0.000605902
S :  0.000000628, -0.000002517
Angle between -G and S is 44.90.
Angle between old and new gradient is 27.77.
Current parameter steps : |dx|=2.59u, max(dxi)=2.52u for number i=2, min(dxi)=0.63u for number i=1
Hint : Steps xi-xi-1 already smaller than dx for gradient calculation.
Current steps in linear search : i=0, step size is t=1.00, clampings=0
Hint : Switched to double-sided gradient because : Maximum step dxi smaller than dxss in gradient calculation. |g| is smaller 100dxss=2.00m.
Hint : Double-sided gradient formula used
Current eigenvalues of BFGS iH :  0.002363316,  0.000000004
Warning : Parabel interpolation shows that start stepsize before GST is quite bad.

Iteration 34 (253 calls) :
Current goal function and gradient : f=0.199u, reduction df=0.33p, |g|=0.61m
X :  0.999553787,  0.999106980
G : -0.000595341, -0.000148538
S :  0.000000000, -0.000000000
Angle between -G and S is 87.46.
Warning : Angle already quite extreme.
Angle between old and new gradient is 12.11.
Current parameter steps : |dx|=33.33n, max(dxi)=32.10n for number i=2, min(dxi)=8.98n for number i=1
Hint : Steps xi-xi-1 already smaller than dx for gradient calculation.
Current steps in linear search : i=0, step size is t=362.04, clampings=0
Warning : Current stepsize unusually large.
Hint : Switched to double-sided gradient because : Maximum step dxi smaller than dxss in gradient calculation. |g| is smaller 100dxss=2.00m.
Hint : Double-sided gradient formula used
Current eigenvalues of BFGS iH :  0.002363396,  0.000000004

Iteration 35 (259 calls) :
Current goal function and gradient : f=0.199u, reduction df=18.54p, |g|=0.60m
X :  0.999553940,  0.999106734
G : -0.000575312, -0.000158548
S :  0.000000002, -0.000000003
Angle between -G and S is 64.49.
Angle between old and new gradient is 0.03.
Current parameter steps : |dx|=0.29u, max(dxi)=0.25u for number i=2, min(dxi)=0.15u for number i=1
Hint : Steps xi-xi-1 already smaller than dx for gradient calculation.
Current steps in linear search : i=0, step size is t=72.70, clampings=0
Hint : Switched to double-sided gradient because : Close to end. Maximum step dxi smaller than dxss in gradient calculation. |g| is smaller 100dxss=2.00m.
Hint : Double-sided gradient formula used

Current real Hessian Matrix H  : 
801.334981, -399.825576
-399.825576, 200.000000

RMS value of diagonal matrix entries : 584.01
RMS value of non-diagonal entries : 399.83
Ratio of RMS values : 1.461:1

Current real inverse Hessian Matrix : 
 0.491999,  0.983569
 0.983569,  1.971280

Current inverse Hessian Matrix from BFGS : 
 0.000162, -0.000573
-0.000573,  0.002059

Sign mismatches in matrices : 2 of 4 (50.00%)
Warning : Matrix quite bad, although already many iterations.
Normalized average entry difference in matrices : 179.80%
Hint : Angle between S via iH and real iH is 0.40. Length ratio is 0.00:1.
Current eigenvalues of real iH :  2.462280141,  0.000999072
Current eigenvalues of BFGS iH :  0.002219259,  0.000001877

BFGS iterations : 35, f=0.199u, |g|=0.44m - YS too small.
Number of warnings during optimization : 40
Function calls in gradient calculation : 85
Function calls in line search : 178
Single-sided gradient calculations : 30
Double-sided gradient calculations : 6
f=0.1992u compared to 24.2000 at start
Sum of all dx steps : 3.869 compared to direct step of 2.200 (ratio is 1.76:1)
|g|=0.4447m compared to 232.8546 at start

Final X vector :      0.999553940,  0.999106734
Compared to start X : -1.200000000,  1.000000000
X(start)-X(final) : -2.199554  0.000893 
Final G vector :     -0.000354087, -0.000269056
Compared to start G : -215.586700191, -87.998000000

Real final Hessian matrix H : 
801.334981, -399.825576
-399.825576, 200.000000

RMS value of diagonal matrix entries : 584.01
RMS value of non-diagonal entries : 399.83
Ratio of RMS values : 1.461:1

Real final inverse Hessian matrix iH : 
 0.491999,  0.983569
 0.983569,  1.971280

inverse H from BFGS : 
 0.000162, -0.000573
-0.000573,  0.002059

Sign mismatches in matrices : 2 of 4 (50.00%)
Normalized average entry difference in matrices : 179.80%
Hint : Angle between S via iH and real iH is 0.40. Length ratio is 0.00:1.
Eigenvalues of real final iH :  2.462280141,  0.000999072
Eigenvalues of final BFGS iH :  0.002219259,  0.000001877

Eigenvector 1 : -0.268468378,  0.963288498
Eigenvector 2 :  0.963288498,  0.268468378

Post-evaluation of optimization progress :
Step size parameter t : maximum=362.039, minimum=0.201n, average=13.709

Gradient reached geometric mean of max(final value,goal)=0.44m and start value (go=232.85) at iteration 27
Function decreased already by 99% at iteration 15
Function decreased already by 99.9% at iteration 21
All parameters at better than 3% to final ones already at iteration 24
All parameters at better than 1% to final ones already at iteration 29

